home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / ZanyAttack.swf / scripts / DefineButton2_153 / BUTTONCONDACTION on(keyPress c).as next >
Encoding:
Text File  |  2006-06-13  |  219 b   |  11 lines

  1. on(keyPress "c"){
  2.    if(eval("/:playerLives") < "4")
  3.    {
  4.       set("/:playerLives",eval("/:playerLives") + "1");
  5.       tellTarget("/lives")
  6.       {
  7.          gotoAndStop(eval("/:playerLives"));
  8.       }
  9.    }
  10. }
  11.